package com.baizhi.service;

import com.baizhi.dto.VideoDTO;
import com.baizhi.dto.VideoDetailDTO;
import com.baizhi.entity.Video;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 视频 服务类
 * </p>
 *
 * @author 2107class
 * @since 2021-12-22
 */
public interface VideoService extends IService<Video> {

    public List<Video> selectPage(Integer page,Integer perPage);

    //添加视频
//    Video add(MultipartFile file,String title,String intro,String categoryId,Integer uid);

    VideoDTO insert(Video video);
    VideoDetailDTO queryDetailById(Integer videoId, String token);

}
